package cn.gson.crm.model.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import lombok.Data;

/**
 * 维护提醒记录
 * @author GHOST
 *
 */

@Entity
@Table(name="tb_wh_reminding_record")
@Data
public class WhRemindingRecord {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="tb_reminding_record_id")
	private Long id;
	
	/**
	 * 学员外键
	 */
	@ManyToOne()
	@JoinColumn(name="student_id")
	private Student student;
	
	
	/**
	 * 提示时间
	 */
	@Column(name="reminding_time")
	private Date remindingTme;
}
